//
//  XZ_CompanyPayView.m
//  Project_Demo
//
//  Created by Leon on 2018/7/19.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//公司支付页面（长得都一样）

#import "XZ_CompanyPayView.h"
#import "XZ_PayView.h"

@interface XZ_CompanyPayView ()<payViewDelegate>

@end

@implementation XZ_CompanyPayView

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSString *noticeStr = @"温馨提示:\n1.*若为19位卡号，请在首位前加0补全\n联机账户20元起充，最高不超过200元\n2.联机账户充值后可用于加油（中石化、欧风加油站等)";
    NSArray *amountArr = @[@"10元",@"20元",@"50元",@"100元",@"200元",@""];
    NSArray *payWayArr = @[@"",@"支付宝",@"微信",@"联机账户"];
    NSArray *payWayImageArr = @[@"银联支付",@"支付宝",@"微信支付",@"账户充值"];
    XZ_PayView *payView  =  [XZ_PayView sharedXZ_PayView];
    payView.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight);
    payView.amountTitleArr = amountArr;
    payView.payWayTitleArr = payWayArr;
    payView.payWayImageArr = payWayImageArr;
    payView.bottomNoticeLabelStr = noticeStr;
    payView.delegate = self;
    [self.view addSubview:payView];
}


-(void)payAmount:(NSInteger)amount Payway:(NSInteger)payway CardNo:(NSString *)cardNo{
    NSLog(@"payWay==>%ld amount===>%ld cardNO===>%@",payway,amount,cardNo);
}


@end
